home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscTableScroll / MiscTableFocus.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-11  |  1.7 KB  |  56 lines

  1. #ifndef __MiscTableFocus_h
  2. #define __MiscTableFocus_h
  3. //=============================================================================
  4. //
  5. //        Copyright (C) 1995 by Paul S. McCarthy and Eric Sunshine.
  6. //                Written by Paul S. McCarthy and Eric Sunshine.
  7. //                            All Rights Reserved.
  8. //
  9. //        This notice may not be removed from this source code.
  10. //
  11. //        This object is included in the MiscKit by permission from the authors
  12. //        and its use is governed by the MiscKit license, found in the file
  13. //        "License.rtf" in the MiscKit distribution.    Please refer to that file
  14. //        for a list of all applicable permissions and restrictions.
  15. //        
  16. //=============================================================================
  17. //-----------------------------------------------------------------------------
  18. // MiscTableFocus.h
  19. //
  20. //        Blinking "cursor" for showing keyboard focus in TableView.
  21. //
  22. //-----------------------------------------------------------------------------
  23. //-----------------------------------------------------------------------------
  24. // $Id: MiscTableFocus.h,v 1.1 95/09/27 12:21:21 zarnuk Exp $
  25. // $Log:        MiscTableFocus.h,v $
  26. //    Revision 1.1  95/09/27    12:21:21  zarnuk
  27. //    Initial revision
  28. //    
  29. //-----------------------------------------------------------------------------
  30. extern "Objective-C" {
  31. #import <objc/Object.h>
  32. #import <appkit/graphics.h>
  33. #import <dpsclient/dpsNeXT.h>
  34. }
  35.  
  36. @class View;
  37.  
  38. @interface MiscTableFocus : Object
  39.     {
  40.     View*                owner;
  41.     NXRect                frame;
  42.     BOOL                state;
  43.     DPSTimedEntry        timer;
  44.     }
  45.  
  46. - initOwner: (View*) owner;
  47. - free;
  48. - setFrame: (NXRect const*) frame;
  49. - (BOOL) isShowingFocus;
  50. - (void) startFocus;
  51. - (void) stopFocus;
  52.  
  53. @end
  54.  
  55. #endif // __MiscTableFocus_h
  56.